<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改存款类型</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/bootstrap/4.6.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
    <h3 class="mb-4">修改存款类型</h3>
    <form th:action="@{/admin/deposit/update}" method="post">
        <input type="hidden" name="savingId" th:value="${deposit.savingId}">
        <div class="form-group">
            <label>存款名称</label>
            <input type="text" class="form-control" name="savingName" th:value="${deposit.savingName}" required>
        </div>
        <div class="form-group">
            <label>描述</label>
            <textarea class="form-control" name="descrip" rows="3" th:text="${deposit.descrip}"></textarea>
        </div>
        <button type="submit" class="btn btn-success">提交修改</button>
        <a class="btn btn-secondary" th:href="@{/admin/deposit/list}">返回列表</a >
    </form>
</div>
</body>
</html>